package com.qf.service;

import com.qf.pojo.DtsGoods;
import com.qf.vo.GoodsAllinone;

import java.util.List;
import java.util.Map;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.service
 * @Description:
 * @Date 2022/10/13 20:48
 */
public interface DtsGoodsService {
    long getTotal();

    Map<String, Object> findByPage(Integer page, Integer limit, String sort, String order, String goodsSn, String name, List<Integer> brandIds);

    void insert(GoodsAllinone allinone);

    Map<String, Object> detail(Integer id);

    void update(GoodsAllinone goodsAllinone);

    void delete(DtsGoods goods);

    Map<String, Object> selectGoodsStat();

}
